package middleware.p2p.transaction;
import java.net.URL;

import javax.ejb.Local;

@Local
public interface TransactionRepositoryLocal {
	public String registerTransaction();
	public boolean registerJoin(String trans,URL rmWsdl);
	public boolean registerCommitVote(String trans,URL rmWsdl,boolean vote);
	public boolean registerCommited(String trans,URL rmWsdl);
	public boolean registerAborted(String trans);
	public Transaction getTransaction(String transId);
	public boolean completeTransaction(String transId);
	public long[] getCoordinatorTimeouts();
}
